package cool.houge.pig.model;

import java.time.LocalDateTime;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Column;
import org.springframework.data.relational.core.mapping.Table;

/**
 * 登录通道.
 *
 * @author KK (kzou227@qq.com)
 */
@Table("t_login_channel")
@Data
public class LoginChannel {

  /** 主键. */
  private @Id Integer id;
  /** 通道钥匙. */
  private @Column("channel_key") String channelKey;
  /** 通道口令. */
  private @Column("channel_passphrase") String channelPassphrase;
  /** 登录类型. */
  private @Column String kind;
  /** 微信 APP_ID. */
  private @Column("weixin_app_id") String weixinAppId;
  /** 微信 APP_SECRET. */
  private @Column("weixin_app_secret") String weixinAppSecret;
  /** 创建时间. */
  private @Column("create_time") LocalDateTime createTime;
  /** 更新时间. */
  private @Column("update_time") LocalDateTime updateTime;
}
